/**
 * Model representing a Cell object
 */
Ext.define('Sisconsolid.model.Cell', {
      extend: 'Sisconsolid.model.HasAddress',    
      idProperty: 'idCell',
      fields: [
            // id field
            {
                  name: 'idCell',
                  type: 'int',
                  useNull : true
            },
            {
                  name: 'startDate',
                  type: 'date',
				  dateFormat :'Y-m-d'
            },
            {
                  name: 'leaderFirstName',
                  type: 'string'
            },
            {
                  name: 'leaderLastName',
                  type: 'string'
            },
            {
                  name: 'leaderPhone',
                  type: 'string'
            },
            {
                  name: 'hostName',
                  type: 'string'
            },
            {
                  name: 'cellPhone',
                  type: 'string'
            },
            {
                  name: 'dayName',
                  type: 'string'
            },
            {
                  name: 'day',
                  type: 'int'
            },
            {
                  name: 'time',
                  type: 'string'
            },
            {
                  name: 'postalCode',
                  type: 'string'
            },
            {
                  name: 'cellCode',
                  type: 'string'
            },
            {
                  name: 'generation',
                  type: 'string'
            },
            {
                  name: 'idMotherCell',
                  type: 'int'
            },
            {
                  name: 'motherCell',
                  type: 'string',
				  persist: false
            },
            {
                  name: 'idFamily',
                  type: 'int'
            },
            {
                  name: 'family',
                  type: 'string',
				  persist: false
            },
            {
                  name: 'idNet',
                  type: 'int'
            },
            {
                  name: 'net',
                  type: 'string',
				  persist: false
            }			
      ] 
});